    {volist name="list" id='d'}
          {if condition="$current_user_id neq $d['uid']"}

       <div style="width:100%;margin-top: 30px;">
              <div style="float:left;width:20%;text-align: center;">
                      <img style="width:50px;height:50px;border-radius:50%;" src="{$d.avatar|default='http://qiniu.weizhongbang.net/cae77201908122223168354.png'}" alt="">
                      <div style="width:50px;text-align:center;width:100%;">{$d['uid']}</div>
             </div>

            <div style="width:50%;float:left;margin-top: 0px;padding:20px;border-radius: 10px;background: #fff;line-height:30px;">
            
                           {if condition="$d['img']"}
              <div style="width:100%;text-align:center;">

            <img src="{$d['img']}" style="height:100px;" >
              </div>
              {else/}

	              {$d['content']}
              {/if}
           </div>

            <div style="clear:both;"></div>
        </div>

         <div style="line-height:30px;color:#ccc;height:30px;text-align:center;width:100%;font-size:12px;">{$d.create_time}</div>

        {/if}

          {if condition="$current_user_id eq $d['uid']"}

       <div style="width:100%;margin-top: 30px;">
              <div style="float:right;width:20%;text-align: center;">
                      <img style="width:50px;height:50px;border-radius:50%;" src="{$d.avatar|default='http://qiniu.weizhongbang.net/cae77201908122223168354.png'}" alt="">
             </div>

            <div style="width:50%;float:right;margin-top: 20px;padding:20px;border-radius: 10px;background: #ffd93d;color:#5f4242;position:relative;line-height:30px;">
              {if condition="$d['img']"}
              <div style="width:100%;text-align:center;">

            <img src="{$d['img']}" style="height:100px;" >
              </div>
              {else/}

              {$d['content']}
              {/if}

           </div>


            <div style="clear:both;"></div>
        </div>
              <div style="line-height:30px;color:#ccc;height:30px;text-align:center;width:100%;font-size:12px;">{$d.create_time}</div>


          {/if}
          
          
{/volist}